package com.qzh.G;

import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;


public class AttrTest {
    public static void main(String[] args) {
        Character character1 = new Character();
        character1.setHpLimit(BigDecimal.valueOf(1000));
        character1.setHp(BigDecimal.valueOf(1000));
        character1.setAttack(BigDecimal.valueOf(100));
        character1.setCit(BigDecimal.valueOf(0.2));
        character1.setSpeed(BigDecimal.valueOf(0.2));
        character1.setCid(BigDecimal.valueOf(1.5));









    }
}
@Data
@Accessors(chain = true)
class Character{
//health
BigDecimal hp;
BigDecimal hpLimit;
BigDecimal attack;
BigDecimal defend;
//闪避
BigDecimal speed;
//暴击
BigDecimal cit;
//爆伤
BigDecimal cid;
}
